package com.xuz.observer.example03;

import com.xuz.observer.example02.LotteryResult;

/**
 * MQ消息发送事件
 *
 * @user 65453
 * @date 2024/10/17 21:09
 */
public class MQEventListener implements EventListener {
    @Override
    public void doEvent(LotteryResult result) {
        System.out.println("记录用户摇号结果(MQ), 用户ID:" + result.getUId() +
                ",摇号结果:" + result.getMsg());
    }
}
